Skip to main content

CSV Directory Synchronization

Menu Path: Settings > Inbound Provisioning > CSV Directory Synchronization


Table of Contents

  • Overview
  • Screen Configuration
  • How to Set Up (4 Steps)
    • Step 1: Connect to the Server
    • Step 2: User Settings
    • Step 3: Group Settings
    • Step 4: Synchronization Settings
  • Manual Synchronization
  • Check Synchronization Results
  • Error Handling
  • Cautions

Overview

This feature periodically monitors CSV files uploaded to an FTP or SFTP server and automatically synchronizes user and group information to the Security365 management center. It is used when integrating CSV files generated from a separate external directory server (such as an HR system).

Operation Flow:

stepContent
1Connecting to FTP/SFTP Server
2Download CSV file from specified path
3Check for file changes compared to the previous synchronization
4CSV Data Transformation and Validation
5Reflecting User/Group Information in the Management Center

**Reference:**You can only enable one inbound provisioning method. If you enable CSV directory synchronization, other methods (SCI Server, Microsoft365, local Active Directory) will be disabled.

**Reference:**If the file content has not changed, synchronization is skipped. This is normal behavior that prevents unnecessary processing.


Screen Configuration

Before Configuration: A message "Available after setup." will be displayed on the CSV directory sync card.

After completing the setup: The following information is displayed on the card.

InformationDescription
Connection Method and Server InformationConnection method (SFTP/FTP), host address, port, connection ID
Last synchronization date and resultRecent synchronization execution time and success/failure status
Synchronization PeriodAutomatic synchronization setting time
[Edit] ButtonChange Settings
[Manual Sync] ButtonImmediate Synchronization Execution

How to Set Up (4 Steps)

[Step 1] Connect to Server

Enter the FTP/SFTP server connection information.

itemDescription
Connection Method (Protocol)Choosing FTP or SFTP
Host (Server Address)Server address (IP or domain)
PortConnection Port Number
Access IDServer Account ID
Access PasswordServer account password

Criteria for Selecting Connection Method:

MethodDefault PortDescriptionRecommended Situations
SFTP22SSH-based encrypted transmissionSecure Environment (Recommended)
FTP21Unencrypted TransmissionEnvironment with low security requirements such as internal networks

After setting**[Integration Test]**Click the button to check the server connection status.

**Caution:**Be sure to run the integration test before saving to verify the connection.

**Reference:**The password is stored in an encrypted format and is not exposed in plain text on the settings screen.

Button: Cancel | Save temporarily | Next


[Step 2] User Settings

Set the monitoring method and data transformation rules for the user CSV file.

Monitoring Path

Surveillance Mode

modeDescription
Single FileMonitors the files at the specified path.
directoryMonitors the most recent file in the specified path.

Selection of Directory Mode - Criteria for Determining the Latest File

criteriaDescription
As of the date of modificationConsider the most recently modified file as the latest file.
File Name CriteriaSelect the file with the most recent date by parsing the date included in the filename.

Support Date Format (when selected based on filename):

FormatFile Name Example
yyyyMMddusers_20260101.csv
yyyy-MM-ddusers_2026-01-01.csv
yy-MM-ddusers_26-01-01.csv
yyMMddusers_260101.csv

**Reference:**File name is#Files starting with are commented out and excluded from synchronization targets.

Path and File Patterns

itemDescriptionexample
pathServer internal file or directory pathdata/csv/users/
File PatternFile name pattern to monitor (wildcard*Support)users_*.csv

Synchronization Options

itemOptionsDescription
Handling Items Not Included in CSVmaintenanceKeep existing users not present in the CSV
DeactivationDeactivate existing users not present in the CSV
Stop synchronization on validation erroruseStop full synchronization when a validation error occurs
Not in useSkip error records and reflect the remaining data.

Caution: 비활성화When selected, all existing users not included in the CSV file will be deactivated. Please make sure to check the file contents in advance.


CSV Conversion Settings

Set the CSV file format and field mapping rules.

Input CSV delimiter

OptionsDelimiter Character
comma,
pipe|
tab(tab character)

Field Mapping Method

MethodDescription
Header-basedMapping with the column names of the first row (header) in CSV
Index-basedMapping by column order (starting from 0)

Standard Field List (User)

Standard FieldRequired 여부Description
USER_IDRequiredUser ID (Email format recommended)
USER_NAMERequiredUsername
EMAILSelectionEmail address
GROUP_ID_LISTSelectionAffiliated Group ID (multiple groups separated by commas)
ACTIVE_STATUSSelectionActivation Status

ACTIVE_STATUS recognition value:

Recognition ValueProcessing Result
ACTIVE, Y, 1, true(case insensitive)Process as active user
All other valuesProcessed as an inactive user

**Caution:**If the ACTIVE_STATUS column is incorrectly mapped or an unrecognized value is entered,All users deactivatedIt can be done. Be sure to conduct a small test first after changing the settings.


Record Filtering (Optional)

You can include or exclude only the records that meet specific conditions as synchronization targets.

  • wildcard(*) supports patterns.

Default email domain (optional)

User ID is in email format (@If it is not included, it automatically adds the configured domain and converts it to an email format.

Configuration ExampleBefore Conversionafter conversion
Domain:company.comhong123hong123@company.com

Button: Cancel | Save Temporarily | Previous | Next


[Step 3] Group Settings

Set the monitoring method and data transformation rules for the group CSV file. The configuration is the same as the user settings tab, with the following differences.

Synchronization Options (Group)

itemOptionsDescription
Handling Items Not Included in CSVmaintenanceMaintain existing groups that are not in the CSV
deleteDelete existing groups not in the CSV

**Reference:**The group tab contains검증 오류 시 동기화 중단toggle and기본 이메일 도메인No items.

itemUser SettingsGroup Settings
Options for Handling Items Not Included in CSVMaintain / DeactivateMaintain / Delete
Stop synchronization on validation errorexists (optional)None (Always halt completely on error)
Default Email DomainexistsNone

Standard Field List (Group)

Standard FieldRequired 여부Description
GROUP_IDRequiredGroup Unique ID
GROUP_NAMERequiredGroup Name
DESCRIPTIONSelectionGroup Description
PARENT_GROUP_IDSelectionParent Group ID (used when configuring hierarchy)

**Caution:If an error occurs during group synchronization, without partial reflectionFull synchronization has been interrupted.**Make sure to thoroughly review the data integrity of the group CSV file in advance.

**Reference:Between user settings and group settingsAt least one side must complete the field mapping.**You can save it.

Button: Cancel | Save Temporarily | Previous | Next


[Step 4] Synchronization Settings

Set the automatic synchronization period and backup options.

itemDescription
Automatic SynchronizationUse / Do not use selection
Synchronization PeriodSet the time (hour/minute) to run daily when using automatic synchronization.
Backup Before SynchronizationAutomatically back up current user/group data before executing synchronization when in use.

**Caution:**If backup is enabled before synchronization, synchronization will not proceed in case of backup failure.

**Reference:**All execution times are based on KST (Korea Standard Time).

Button: Cancel | Previous | Save


Manual Synchronization

After saving the settings, in the CSV directory synchronization card on the inbound provisioning list screen**[Manual Synchronization]**Clicking the button will immediately execute the synchronization.

  • After synchronization is complete, the success/failure status and completion time will be displayed.

**Caution:**Duplicate execution is not allowed during synchronization. Please run it again after the previous synchronization is complete.


Check Synchronization Results

After completing the setup, you can check the last synchronization result on the card.

Last synchronization status types:

StatusDescription
successFile monitoring and data reflection completed
No changesNo changes in file content compared to the previous synchronization (normal operation)
Connection failedUnable to connect to FTP/SFTP server
File not foundThe file does not exist at the specified path.
failureError occurred during data transformation, validation, or reflection process

**[Last Synchronization Information]**Clicking the link will open the slide panel ("Last Synchronization Information of the CSV Directory").

itemDisplay content
Group SynchronizationStatus, Monitoring Path, Last Synchronization Date and Time
User SynchronizationStatus, Monitoring Path, Last Synchronization Date and Time

Error Handling

Error TypesMain SymptomsAction Method
Connection ErrorStatus: Connection FailedCheck server address, port, and account information / Check if firewall ports are open
File ErrorStatus: No fileCheck specified path and file pattern / Check if the file is uploaded to the server
Conversion errorStatus: FailedCheck CSV delimiter settings / Check field mapping settings / Check CSV file encoding (UTF-8)
Validation ErrorStatus: FailedCheck for missing required fields (USER_ID, USER_NAME / GROUP_ID, GROUP_NAME)
Reflection ErrorStatus: FailedCheck the error details in the synchronization log and contact the responsible team.
Backup failureSynchronization Not ExecutedCheck Backup Settings and Backup Storage Space Before Synchronization

Cautions

  • Between user settings and group settings**At least one side must complete the field mapping.**You must do it. Neither side will be saved in an unset state.
  • ACTIVE_STATUSIf field mapping is incorrect, all users may be deactivated. After changing settings, be sure to conduct a small-scale test first.
  • When a group synchronization error occurs, the entire synchronization is halted without partial reflection.
  • file name#Files starting with are commented out and excluded from synchronization targets.
  • If the file content has not changed, synchronization will be skipped. This is normal behavior.
  • When the backup option is enabled before synchronization, if a backup failure occurs, synchronization will also be halted.
  • All execution times are**KST (Korea Standard Time)**It is a standard.
  • Even if you directly modify the synchronized user/group information in the management center, it will be overwritten based on the CSV file during the next synchronization execution. If permanent changes are needed, please modify the original CSV file or the source system first.
  • Only one inbound provisioning method can be activated, and if another method is already activated, it must be used after switching.